cmake_minimum_required(VERSION 3.19)
project(c_practice C)

set(CMAKE_C_STANDARD 11)

add_executable(c_practice
        ChapterFour/4-3origin.c
        ChapterFour/e4-1.c
        ChapterFour/e4-3.c
        ChapterFour/hello.c
        ChapterThree/e3-5.c
        ChapterThree/e3-6.c
        ChapterTwo/e2-1.c
        ChapterTwo/e2-3.c
        ChapterTwo/e2-5.c
        ChapterTwo/e2-6.c
        ChapterTwo/e2-7.c
        ChapterTwo/e2-8.c
        ChapterTwo/Exercise2-2.c
        ChapterTwo/Exercise2-4.c
        ChapterTwo/hello.c
        TutorialIntroduction/CharCounting.c
        TutorialIntroduction/CopyInputToOutput.c
        TutorialIntroduction/CountNewLines.c
        TutorialIntroduction/Exercise1-10.c
        TutorialIntroduction/Exercise1-12.c
        TutorialIntroduction/Exercise1-13-2.c
        TutorialIntroduction/Exercise1-13.c
        TutorialIntroduction/Exercise1-14.c
        TutorialIntroduction/Exercise1-15.c
        TutorialIntroduction/Exercise1-16.c
        TutorialIntroduction/Exercise1-17.c
        TutorialIntroduction/Exercise1-18.c
        TutorialIntroduction/Exercise1-19.c
        TutorialIntroduction/Exercise1-20.c
        TutorialIntroduction/Exercise1-21.c
        TutorialIntroduction/Exercise1-22.c
        TutorialIntroduction/Exercise1-3.c
        TutorialIntroduction/Exercise1-4.c
        TutorialIntroduction/Exercise1-5.c
        TutorialIntroduction/Exercise1-6.c
        TutorialIntroduction/Exercise1-8.c
        TutorialIntroduction/Exercise1-9.c
        TutorialIntroduction/hello.c
        TutorialIntroduction/Section1-9.c
        TutorialIntroduction/tempratureTrans.c
        demo.c
        trim.c)
